package br.inf.solutions.apresentacoes.ssp.model.basics;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import br.com.vexillum.model.annotations.Validate;
import br.com.vexillum.model.annotations.ValidatorClass;

@SuppressWarnings("serial")
@ValidatorClass(validatorClass="br.inf.solutions.apresentacoes.ssp.control.validator.CountTypeValidator")
@Entity
@Table(name="count_type")
public class CountType extends BasicCommon{

	@Validate(notNull = true)
	@Column(name="factor_multiplication", nullable=false, unique=false, updatable=true)
	private Integer factorMultiplication;

	public Integer getFactorMultiplication() {
		return factorMultiplication;
	}

	public void setFactorMultiplication(Integer factorMultiplication) {
		this.factorMultiplication = factorMultiplication;
	}
	
}
